package com.jy.api.patient;

import com.jy.api.patient.dto.PatientIndexDto;
import com.jy.framework.base.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ename wade.nie
 * @cname 聂敏
 * @email 550552699@qq.com
 * @date 2024/7/15
 */
@FeignClient(name = "rhin-aggr-service", fallback = RhinAggrAPIFallback.class)
public interface RhinAggrAPI {

    @GetMapping("/patient/patientIndexByEmpi")
    Result<PatientIndexDto> getPatientIndexByEmpi(@RequestParam(value = "empi") String empi);
}
